package com.dgut.usermodule.entity;

import java.util.Date;

import javax.validation.constraints.NotNull;

public class UserUpdateDTO {
	@NotNull(message="id不能为空")
	private Long id;
	@NotNull(message="用户名不能为空")
	private String userName;
	@NotNull(message="密码不能为空")
	private String password;
	private String phone;
	private String email;
	private Date date;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
}
